package com.kgc.itrip.dao.mapper;


import com.kgc.itrip.beans.model.ItripUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ItripUserMapper {

    public ItripUser getItripUserById(@Param(value = "id") Long id) throws Exception;

    public List<ItripUser> getItripUserListByMap(Map<String, Object> param) throws Exception;

    public Integer getItripUserCountByMap(Map<String, Object> param) throws Exception;

    public Integer insertItripUser(ItripUser itripUser) throws Exception;

    public Integer updateItripUser(ItripUser itripUser) throws Exception;

    public Integer deleteItripUserById(@Param(value = "id") Long id) throws Exception;

}
